package com.gxa.jjty.core.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author asus
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@Table(name = "royalty")
public class Royalty {

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @ApiModelProperty(value = "ID")
  private Long id;

  @ApiModelProperty(value = "结算周期")
  private String setInterval;

  @ApiModelProperty(value = "提成率")
  private Double royaltyRate;


  @ApiModelProperty(value = "陪护员id")
  private Long phyId;


  @ApiModelProperty(value = "结算状态")
  private Integer royaltyStatus;




}
